package com.zrf.base.knowledge.guava;

import com.google.common.collect.ComparisonChain;

/**
 * @author zhouruifeng
 *         Created by zhouruifeng on 2017/7/17.
 */
public class ComparisonChainTest {
    public static void main(String[] args) {
        System.out.println(ComparisonChain.start().compare(1,1).compare("2", "2")
                .compare("2", "1").result());
    }
}
